import { request } from './request'

export function getSearch (cid, pagenum) {
  return request({
    url: '/goods/search',
    params: {
      cid,
      pagenum
    }
  })
}

export function getDetail (goodsId) {
  return request({
    url: '/goods/detail',
    params: {
      goods_id: goodsId
    }
  })
}
